x86/apic: record local APIC state on boot
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 Jun 2011 12:02:00 +0000 (13:02 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 Jun 2011 12:02:00 +0000 (13:02 +0100)
commitef41e4fb40fd8cb8dfcb19e488d1a7a647c8810d
treef59d8ffb0b4c366e93acdd04f93179afa286eda2
parent7c1ac80ccdcba5141fc353b95f8d2432f843648d
x86/apic: record local APIC state on boot

Xen does not store the boot local APIC state which leads to problems
when shutting down for a kexec jump.  This patch records the boot
state so we can return to the boot state when kexecing.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Keir Fraser <keir@xen.org>
Acked-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/apic.c
xen/arch/x86/genapic/probe.c
xen/include/asm-x86/apic.h